<#if taskMain??>
	<#if taskMain.processStatus == 2>
		<h3 class="xlh3title"><span class="yijian"></span>当前审核流程:(${taskMain.processName}-${taskMain.taskCode})</h3>
	</#if>
  	<div class="dataBable" style="margin:10px;">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <thead>
          <tr>
              <th>NO.</th>
              <th>流程节点</th>
			  <th>状态</th>
              <th>审核人</th>
               <th>开始时间</th>
              <th>处理时间</th>
			  <th>处理意见</th>
          </tr>
          </thead>
          <tbody>
		<#list taskMain.taskNodeList as item>
                <tr>
                    <td width="5%" <#if item.auditors?? && item.auditors?size gt 1> rowspan="${item.auditors?size}" </#if>>${item_index+1}</td>
                    <td width="10%" <#if item.auditors?? && item.auditors?size gt 1> rowspan="${item.auditors?size}" </#if>><span <#if item.nodeStatus == "1"> style="color:red;" </#if>>${item.nodeName}</span></td>
                    <#if item.auditors??>
                     <#list item.auditors as auditor>
                     	<#if auditor_index == 0>
						<td width="10%" <#if item.auditors?? && item.auditors?size gt 1> rowspan="${item.auditors?size}" </#if>>
							<#if item.nodeStatus == 0><span style="color:green;">提交</span></#if>
							 <#if item.nodeStatus == 1><span style="color:red;">审核中</span></#if>
							 <#if item.nodeStatus == 2>待审核</#if>
							 <#if item.nodeStatus == 3><span style="color:green;">审核通过</span></#if>
							 <#if item.nodeStatus == 4><span style="color:red;">已否决</span></#if>
							  <#if item.nodeStatus == 5><span style="color:red;">已驳回</span></#if>
							 <#if item.nodeStatus == 9><span <#if taskMain.processStatus != 2>style="color:green;"</#if>>结束</span></#if>
						</td>
                      	<td width="10%" title="${auditor.auditorDes}">${auditor.auditorName}<span class="messIco"></span></td>
                         <td width="15%" >${auditor.auditorStartDate}</td>
                         <td width="15%" >${auditor.auditorDate}</td>
						 <td class="txtH">
						 	<#if auditor.auditNotes??>
						 		<#noescape>${auditor.auditNotes}</#noescape>
						 	</#if>
						 </td>
                        </#if>
                     </#list>
                    <#else>
                    	<td></td>
                        <td></td>
                        <td></td>
                        <td></td>
						<td></td>
                    </#if>
                </tr>
                <#if item.auditors?? && item.auditors?size gt 1>
                    <#list item.auditors as auditor>
                        <#if auditor_index gt 0>
                         <tr>
                             <td width="10%" title="${auditor.auditorDes}">${auditor.auditorName}<span class="messIco"></span></td>
                             <td width="15%" >${auditor.auditorStartDate}</td>
                             <td width="15%" >${auditor.auditorDate}</td>
							 <td width="40%" class="txtH">
							 	<#if auditor.auditNotes??>
							 		<#noescape>${auditor.auditNotes}</#noescape>
							 	</#if>
							 </td>
                         </tr>
                        </#if>
                    </#list>
                </#if>
             </#list>
            </tbody>
        </table>
    </div>
</#if>